package com.yonyougov.devops.cruxcisupport.harbor.repositories;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HarborRepositoriesServiceImpl implements HarborRepositoriesService{
    @Autowired
    private HarborRepositoriesDao harborRepositoriesDao;
    @Override
    public List<HarborRepositories> getRepositories(String projectName, Integer page, Integer pageSize) {
        return harborRepositoriesDao.getRepositories(projectName,page,pageSize);
    }
}
